package com.delivery.service;

import com.delivery.dto.AddOrEditEmployeeDTO;
import com.delivery.dto.EmployeeLoginDTO;
import com.delivery.dto.EmployeePageQueryDTO;
import com.delivery.entity.Employee;
import com.delivery.result.PageResult;

public interface EmployeeService {
    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void addEmployee(AddOrEditEmployeeDTO employeeAddDTO);

    PageResult employeePageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    void enableOrDisableEmployeeAccount(Integer status, Long id);

    Employee getEmployeeById(Long id);

    void editEmployeeInfo(AddOrEditEmployeeDTO dto);


}
